<?php
//DB Created by Rich L. a member in service in Northern Delaware.  Please feel free to share this code wherever it may be useful to alcholoics.  Should you have questons please contact me at sobernerd@gmail.com
//header items
$jQuery = true;
$tinyMCE = true;
$jQueryCookie = true;
$hoverIntent = true;
$Jededitable = true;
$googleAPI = false;
$calendar = false;
require_once ('../../config/include_paths.php');
require_once('config.php');
require_once('functions.php');
$pageTitle = SITE_NAME.' - Administration - Meetings'; //must be set after the config.php include and before head.php include
require_once('dbconnect.php');	// database connect script.
session_start();
if ($_SESSION['logged_in'] == 0) {
	require ('../../admin/security_check.php');
} else {
	require_once ('adminhead.php');			
				?>
<body onLoad="checkMenuSettings();">
<div id="wrapper">
  <?php require_once ('adminHeader.php'); ?>
  <div class="clearfloat">&nbsp;</div>
  <div id="sidebar">
    <?php require_once ('adminNav.php'); ?>
  </div>
  <div class="main_content">
    <?php
	$page=$_GET['page'];
		switch ($page)
		{
		case 'groups':
		  require_once('groups_table.php');
		  break;
		case 'group_edit';
		  require_once('group_form.php');
		  break;
		case 'meetings':
		  require_once('meetings_table.php');
		  break;
		case 'meeting_edit';
		  require_once('meeting_form.php');
		  break;
		case 'types':
		  require_once('meeting_types_table.php');
		  break;
		case 'types_edit':
		  require_once('meeting_types_form.php');
		  break;
		case 'locations':
		  require_once('locations_table.php');
		  break;
		case 'location_edit':
		  require_once('location_form.php');
		  break;
		default:
		  require_once('meetings_table.php');
		}				
	}
?>
  </div>
</div>
</body>
</html>